//
//  IGUser.h
//  jingdongfang
//
//  Created by BOE on 2017/8/9.
//  Copyright © 2017年 ZhiYu Hao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IGUserInfo.h"

@interface IGUser : NSObject

/// 登录成功后的处理
+ (void)loginSuccessWithModel:(IGUserInfo *)model
                   completion:(void(^)())completion;

/// 修改用户信息成功后保存
+ (void)saveUserInfo:(IGUserInfo *)model;

/// 是否登录 YES:是  NO:否
+ (BOOL)isLogin;

/// 退出
+ (void)logout;

/// 获取用户基本信息
+ (NSString *)getUid;
+ (NSString *)getTel;
+ (NSString *)getuToken;
+ (NSString *)getNike;
+ (NSString *)getCollectionNums;
+ (NSString *)getContent;
+ (NSString *)getImage;
+ (NSString *)getFollowNums;
+ (NSString *)getAuthens;
+ (NSString *)getAuthensContent;
+ (NSString *)getType;
+ (NSString *)getHasLabelSetting;

//编辑存储用户基本信息
+ (void)saveNike:(NSString *)nike;
+ (void)saveImage:(NSString *)image;
+ (void)saveAuthens:(NSString *)authens;
+ (void)saveTel:(NSString *)tel;

//IGUserInfo模型
+ (IGUserInfo *)getUserInfo;

@end
